package com.example.conf.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author wpdcn
 * @since 2020-10-31
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("shop_member_favorite_news_activity")
@ApiModel(value="ShopMemberFavoriteNewsActivityEntity对象", description="")
public class ShopMemberFavoriteNewsActivityEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @Column(comment = "主键id")
    @ApiModelProperty(value = "20")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Column(comment = "活动id")
    private String memberId;

    @Column(comment = "1-新闻；2-活动")
    @ApiModelProperty(value = "1-新闻；2-活动")
    private String type;

    @Column(comment = "新闻|活动id")
    @ApiModelProperty(value = "新闻|活动id")
    private Long relId;

    @Column(comment = "创建时间")
    private LocalDateTime createTime;






}
